from pydantic import BaseModel

# Contents of JWT token
class TokenPayload(BaseModel):
    sub: str | None = None

# JSON payload containing access token
class Token(BaseModel):
    access_token: str
    token_type: str = "bearer"


# Contents of JWT token
class TokenPayload(BaseModel):
    sub: str | None = None

# XmLogin Request
class XmLoginRequest(BaseModel):
    mobile: str
    xmToken: str

class WpLoginRequest(BaseModel):
    authCode: str